package com.cloudbroker.bcs.csvc.itn.api.t2service;

import java.util.Map;

import com.cloudbroker.bcs.csvc.itn.api.constants.ITNFunctionIds;
import com.hundsun.jresplus.remoting.impl.annotation.Service;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceModule;

@ServiceModule
public interface ITNT2Service {

    /**
     * 用户注册
     * @return
     */
    @Service(functionId = "5070201", desc = "用户注册")
    public Map<String, Object> registerAuthUser(Map<String,Object> param);

    /**
     * 用户注册查询
     * @return
     */
    @Service(functionId = "5070202", desc = "用户注册查询")
    public Map<String, Object> qryAuthUser(Map<String,Object> param);

    /**
     * 创建用户Token
     * @return
     */
    @Service(functionId = "5070203", desc = "创建用户Token")
    public Map<String, Object> createAccessToken(Map<String,Object> param);

    /**
     * 发送短信
     * @return
     */
    @Service(functionId = "5070204", desc = "发送短信")
    public Map<String, Object> sendSms(Map<String,Object> param);

    /**
     * 发送邮件
     * @return
     */
    @Service(functionId = "5070205", desc = "发送邮件")
    public Map<String, Object> sendMail(Map<String,Object> param);
    
    @Service(functionId = "5070206", desc = "获取校验码")
    public Map<String, Object> authCheckCode(Map<String,Object> form);
    
    @Service(functionId = "5070207", desc = "长效令牌获取")
    public Map<String, Object> getLongToken(Map<String,Object> form);
    
    @Service(functionId = "5070208", desc = "手机长效登录")
    public Map<String, Object> getUserToken(Map<String,Object> form);
    
    @Service(functionId = "5070209", desc = "从用户中心获取用户信息")
    public Map<String, Object> getItnUserInfo(Map<String,Object> form);
    
}
